<template>
	<div id="back-to-top" >
		<md-theme>
			<md-button class="md-icon-button md-raised md-primary arrow-up" @click="backToTop">
				<md-icon><i class="iconfont icon-top"></i></md-icon>
			</md-button>
		</md-theme>
	</div>
</template>
<script>
export default {
	data(){
		return{

		}
	},
	methods:{
		backToTop(){
			this.$emit('clickBack');
		}
	}

}
</script>
<style scoped>
.arrow-up{
	position: fixed;
    bottom: 62px;
    left: 0px;
    z-index: 2;
}

</style>